package com.aizuda.boot.modules.business.contract.entity.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author sangyirong
 * @ClassName ContractWorkflowAddDTO
 * @Version 1.0
 * @Date 2025/5/21 10:33
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "合同流程新增参数")
public class ContractWorkflowAddDTO {

    @Schema(description = "合同流程名称", required = true)
    @NotNull
    private String workflowName;

    @Schema(description = "合同流程范围,合同id，多个用','分隔")
    private List<Integer> scope;

    @Schema(description = "流程类型")
    @NotNull
    private String WorkflowType;

    @Schema(description = "适用部门")
    private List<Long> department;

    @Schema(description = "流程定义ID")
    private Long processId;

    @Schema(description = "优先级")
    private Integer priority;

    @Schema(description = "关联的法人ID列表")
    private List<Integer> legalIds;
}
